package com.zhen.concurrent.chapter08;

import java.util.concurrent.TimeUnit;

public class BasicThreadPool extends Thread implements ThreadPool {
/*
    *//**
     * 初始化线程数量
     *//*
    private final int initSize;

    *//**
     * 线程池最大线程数量
     *//*
    private final int maxSize;

    *//**
     * 线程池核心线程数量
     *//*
    private final int coreSize;

    *//**
     * 当前活跃线程数量
     *//*
    private int activeCount;

    *//**
     * 创建线程所需的工厂
     *//*
    private final ThreadFactory threadFactory;

    *//**
     * 任务队列
     *//*
    private final RunnableQueue runnableQueue;

    *//**
     * 线程池是否已经被shutdown
     *//*
    private volatile boolean isShutdown = false;

    private final static DenyPolicy DEFAULT_DENY_POLICY = new DenyPolicy.DiscardDenyPolicy();

//    private final static ThreadFactory DEFAULT_THREAD_FACTORY = new DefaultThreadFactory();

    private final long keepAliveTime;

    private final TimeUnit timeUnit;*/

    @Override
    public void execute(Runnable runnable) {

    }

    @Override
    public void shutdown() {

    }

    @Override
    public int getInitSize() {
        return 0;
    }

    @Override
    public int getCoreSize() {
        return 0;
    }

    @Override
    public int getQueueSize() {
        return 0;
    }

    @Override
    public int getActiveCount() {
        return 0;
    }

    @Override
    public boolean isShutdown() {
        return false;
    }
}
